

<div class="container">
    <div class="bread">
        <span>您当前的位置：</span>
        <a href="">首页</a> >
        <a href="">我的订单</a>
    </div>
    <div class="order">
        <div class="form clearfix">
            <div class="input-group">
                <label >订单号：</label>
                <input type="text" class="text"  ng-model="orderParam.orderId">
            </div>
            <div class="input-group">
                <label >交易状态：</label>
                <select  ng-model="orderParam.status">
                    <option value="" >&#45;&#45;请选择&#45;&#45;</option>
                    <option value="1">已交易</option>
                    <option value="0">未交易</option>
                </select>
            </div>
            <div class="input-group input-group1">
                <label >付款状态：</label>
                <select  ng-model="orderParam.payStatus">
                    <option value="" >&#45;&#45;请选择&#45;&#45;</option>
                    <option value="1">已付款</option>
                    <option value="0">未付款</option>
                </select>
            </div>
            <div class="input-group">
                <label >开始时间：</label>
                <input type="text" class="form-control" ng-model="orderParam.startTime"  laydate-dir id="ld_start" istime="true" format="YYYY-MM-DD hh:mm:ss"   placeholder="年-月-日 时:分" style="width: 230px" >
            </div>
            <div class="input-group">
                <label >结束时间：</label>
                <input type="text" class="form-control" ng-model="orderParam.endTime"  laydate-dir id="ld_end" istime="true" format="YYYY-MM-DD hh:mm:ss"   placeholder="年-月-日 时:分" style="width: 230px" >
            </div>
            <div class="input-group input-group2">
                <input type="button" value="搜索" class="btn-search" ng-click="searchOrderList()">
            </div>
        </div>
        <div ng-repeat="order in orderList" on-finish-render-filters>
            <div class="order-num">
                <span>订单号：{{order.orderId}} </span>
                <span>公司：{{order.companyName}}</span>
                <span>法人：{{order.userName}}</span>
                <span ng-if="order.status=='1'"  class="y" >已交易</span>
                <span ng-if="order.status=='0'"  class="y">未交易</span>
                <button type="button" class="btn btn-danger btn-outlined " ng-click="deleteOrder(order)">删除</button>
                <span><i style="margin-left: 20px" class="glyphicon glyphicon-chevron-down" ng-click="showOrderClick(order.orderId)"></i></span>
            </div>
            <div class="bd" ng-show="showOrderId==order.orderId" >
                <div class="order-type">
                    <span ng-class="{'on':typeOneChecked==item.id}" ng-if="getTypeIfContain(item.id,order.gTypeOneIdlist)" ng-repeat="item in gTypeList"  ng-click="typeOneClick(item)">{{item.title}}</span>
                </div>
                <div class="order-type">
                    <span  ng-class="{'on':typeChecked==item.id}" ng-if="getTypeIfContain(item.id,order.gTypeIdlist)" ng-repeat="item in typeList" ng-class="{'active':typeChecked==item.id}" ng-click="typeClick(item)">{{item.typeName}}</span>
                </div>
                <div class="item clearfix" ng-repeat="goods in order.goods" ng-show="(curTypeOne.id==null&&curType.id==null)||curTypeOne.id==goods.typeOne||curType.id==goods.type">
                    <div class="img">
                        <img  style="width: 200px;height: 200px;" ng-show="goods.ifPic"  ng-src="/dapi/download/getImageIO?imgUrl={{goods.iconUrl}}" name="imageClick" vale="{{goods.goodsId}}">
                        <img  style="width: 200px;height: 200px;" ng-show="!goods.ifPic" ng-src="/app/images/goodsDefault.gif">
                    </div>
                    <div class="text">
                        <div class="h"><a href="/jewellery/common/goodsDetail/{{goods.goodsId}}">{{goods.goodsTitle}} 约{{goods.minWeight}}-{{goods.maxWeight}}g</a></div>
                        <div class="p">
                            <p>商品备注:{{goods.content}}</p>
                            <p ng-if="order.payStatus=='1'" style="color: green;">已收款</p>
                            <p ng-if="order.payStatus=='0'" >未收款</p>
                            <p>¥{{goods.dealPrice*goods.perWeight}}</p>
                            <p>×{{goods.dealNum}}</p>
                        </div>
                        <div class="btndiv">
                            <a href="/jewellery/common/evaluate/{{order.orderId}}"><input type="button" value="评价" class="btn"></a>
                        </div>
                    </div>
                </div>
                <div class="total">
                    <span>共{{order.total}}  件商品</span>
                    <span>合计约： {{order.totalWeight}}g</span>
                </div>
            </div>
        </div>
        <div class="page_wrap">
            <div class="text-center scott">
                <uib-pagination  total-items="totalItems" ng-model="currentPage" boundary-links="true" max-size="5"   ng-change="pageChanged()" items-per-page="itemsPerPage" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>
            </div>
        </div>
    </div>
</div>